package lanbo.cj.lmp;

/**
 * Created by white on 2015/8/13 0013.
 */
public class Config {
    public static int STATE_USING = 1;
    public static int STATE_NOT_USE=0;
    public static String LocalData = "localData.dat";
    public static String LocalAsset = "asset";
    public static String LocalRecord = "record";

    public static String Tag_name = "1";
    public static String Tag_type = "2";
    public static String Tag_birth = "3";
    public static String Tag_date = "4";
    public static String Tag_manu ="5";
    public static String Tag_state = "6";
    public static String Tag_startTime="7";
    public static String Tag_endTime = "8";
    public static String Tag_id="9";
    public static String Tag_curOperation = "0";
    public static String Tag_curKeshi = "10";

    public final static int Keshi_NULL = 0;//无科室
    public final static int Keshi_Nerve = 1;//神经科
    public final static int Keshi_Heart =2;//心脏科
    public final static int Keshi_Mouth =3;//口腔科

    public final static int AssetType_CUSA=0;//超声刀
    public final static int AssetType_BREATH =1;//呼吸机

    public static String getKeshiById(int Keshi){
        String KeshiName = "无科室";
        switch (Keshi){
            case Keshi_Heart:KeshiName = "心脏科";break;
            case Keshi_Mouth:KeshiName="口腔科";break;
            case Keshi_Nerve:KeshiName="神经科";break;
        }

        return KeshiName;
    }
    public static String getAssetType(int assetType){
        String assetTypeStr = "无科室";
        switch (assetType){
            case AssetType_CUSA:assetTypeStr = "超声刀";break;
            case AssetType_BREATH:assetTypeStr="呼吸刀";break;
        }

        return assetTypeStr;
    }

}
